package com.hyh.baowenlioaworking.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @BelongsPackage: com.hyh.baowenlioaworking.model
 * @ClassName Employee
 * @Author: hyhWTX
 * @CreateTime: 2023-07-21  12:11
 * @Description: 员工表实体类
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_employee")
public class Employee  implements Serializable {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;
    private String name;
    private String gender;
    private Date birthday;
    
    private String email;
    private String phone;
    private String address;
    //状态 0:禁用，1:正常
    private Integer status;
    private Integer departmentId;
    private Integer posId;
}
